package com.chuangjiangx.member.stored.service.model;

import lombok.Builder;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author cj-ch
 * @date 2018/9/14 下午2:16
 * 兼容支付模块的 OrderPayResult
 * 用于支付成功后WebSocket推送
 */
@Data
@Builder
public class OrderPayEvent {
    private Long id;
    private String orderDetail;
    private String note;
    private String orderNumber;
    private Long storeId;
    private Long storeUserId;
    private Long merchantId;
    private BigDecimal orderAmount;
    private BigDecimal discountAmount;
    private BigDecimal realPayAmount;
    private BigDecimal paidInAmount;
    private Byte status;
    private String orderBody;
    private BigDecimal refundAmount;
    private Date createTime;
    private Date updateTime;
    private Date payTime;
    private Byte type;
    private Byte channel;
    private Byte payWay;
    private Byte payChannel;
    private Long qrcodeId;
    private Long merchantUserId;
    private BigDecimal discountableAmount;
    private String attach;
    private String outTradeNo;
    private Date refundTime;
    private String storeName;
    private String realname;
    private String merchantName;
    private BigDecimal refundableAmount;
    private String merchantNum;
    private String thawTime;
    private String freezeTime;
    private String authorizationNumber;
    private BigDecimal freezeAmount;
    private BigDecimal thawAmount;
    private String orderException;
    private String orderType;
    private String statusText;
    private Boolean isMember;
    private String memberMobile;
    private Long score;
    private Long availableScore;
    private BigDecimal availableAmount;
    private String qrcodeUrl;
    private Boolean isRecharge;
    private Integer giftType;
    private BigDecimal giftAmount;
    private Long giftScore;
}
